package com.kaishengit.pms.service;

import java.util.List;

import com.kaishengit.pms.dao.FilesDao;
import com.kaishengit.pms.entity.Files;
import com.kaishengit.pms.util.DateUtil;
import com.kaishengit.pms.util.PKUtil;

public class FilesService {

	 private FilesDao fdao = new FilesDao();
	
	 public List<Files> findAllFiles(String projectid) {
		
		return  fdao.findAllFiles(projectid);
		
	}

	public void drop(String id) {
		fdao.drop(id);
	}

	public void sava(String name, String employeeid, String projectid,
			String id, String now) {
		fdao.sava(name,employeeid,projectid,PKUtil.getId(),DateUtil.getNow());
	}

	
	

}
